﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using ZGRemote.Common.Message;

namespace ZGRemote.Common.Processor
{
    public abstract class MessageWaitBase : IDisposable
    {
        internal static int millisecondsTimeout = 10 * 1000;

        public abstract MessageBase Message { get; set; }

        public virtual MessageBase WaitMessage()
        {
            throw new NotImplementedException();
        }

        public virtual Task<MessageBase> WaitMessageAsync()
        {
            throw new NotImplementedException();
        }

        public abstract void Dispose();
    }
}
